package com.training.food.Mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.training.food.pojo.Examine;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import java.util.List;
@Repository
@Mapper
public interface ExamineMapper extends BaseMapper<Examine> {
    Examine getByUsername(Examine examine);
    void update(Examine examine);
    List<Examine> lists(@Param("state") int state);
}
